package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.po.SysServer;

import java.util.Date;
import java.util.List;

public interface SysServerService extends IService<SysServer> {

    public String getIp();

    public String getPort();

    public long getServerKey();

    public List<Long> getActiveServerKeys();

    public List<SysServer> getActiveServerList();

    public List<Long> getDownServerList(Date lastTime, long id);

    public List<Long> getDownServerList(int sec);

    public void updateServerStatus(List<Long> ids);
}
